package me.firstapp.repository.shop;

import java.util.List;
import java.util.Map;

import me.firstapp.common.utils.Page;
import me.firstapp.module.shop.OrderItem;
import me.firstapp.repository.base.EntityRepository;

public interface OrderItemRepository extends EntityRepository<OrderItem> {

	List<OrderItem> findOrderItemsByOrderId(Long orderId);
	
	Page<OrderItem> findOrderItemPage(Integer pageNo, Integer pageSize, Map<String, Object> searchParams, String sortParam,
			String sortType, Long orderId);
}
